import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 28779
 * Date: 2023-03-07
 * Time: 7:54
 */
public class Test {
    public static void main(String[] args) {
        int a = 5;//0000 1010 ->0000 0101
        System.out.printf("%x\n", a >>> 1);
    }
/*    public static void main(String[] args) {
        int temp = 1;
        for (int i = 1; i < 32; i++) {
            if(temp % 2 == 0)
            {

            } else if (temp % 2 != 0) {

            }
        }
    }*/


/*
    public static void main(String[] args) {  //返回参数中二进制1的个数
        int temp = -1;
        int count = 0;
        for (int i = 1; i <= 32; i++) {
            if((temp & 1) == 1)
            {
                count++;
            }
            temp = temp >> 1;

        }
        System.out.println(count);
    }
*/

/*    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int password = 123;
        int input = 1;
        while(input <= 3) {
            int temp = scan.nextInt();
            if (temp == password) {
                System.out.println("登录成功");
                break;
            }
            input++;
        }
        if(input == 4){
            System.out.println("退出程序");
        }
    }*/
/*    public static void main(String[] args) {  //打印数字的每一位
        int input = 1234;
        int ret = 0;
        while(input > 0){
            ret = input % 10;
            System.out.println(ret);
            input = input / 10;
        }
    }*/

/*
    public static void main(String[] args) { //求最大公约数（辗转相除法）
        int a = 24;
        int b = 18;
        int c = a % b;
        while(c != 0){
            a = b;
            b = c;
            c = a % b;
        }
        System.out.println(b);
    }
*/

/*    public static void main(String[] args) {  //99乘法表
        Scanner scan = new Scanner(System.in);
        int input = scan.nextInt();
        for (int i = 1; i < input; i++) {
            for (int j = 1; j <= i; j++) {
                System.out.print(j + "*" + i + "=" + i * j+" ");
            }
            System.out.println();
        }
    }*/


   /* public static void main(String[] args) {
        for (int i = 1; i < 100; i++) {
            if(i / 10 ==9 || i % 10 == 9){
                System.out.print(i+" ");
            }

        }
    }*/

/*    public static void main(String[] args) {

        for(int i=1000;i<=2000;i++)
        {
            if(i%4==0 && i%100!=0 || i%400==0)
            {
                System.out.println("%d是闰年"+i);
            }
        }
    }*/

/*
        public static void main(String[] args)
        {
            for (int i = 1; i<=100; i++){
                for (int z = 2; z<=100;z++){
                    if(i%z==0 && i!=z){
                        break;
                    }
                    if (i%z==0 && i==z){
                        System.out.println(i);
                        break;
                    }

                }
            }
        }
*/



        /*public static void main(String[] args){
            Scanner scan = new Scanner(System.in);
            int input = scan.nextInt();
            int i = 2;
            for(; i <= Math.sqrt(input); i++){
                if(input % i == 0)
                {
                    System.out.println("不是素数！");
                    break;
                }
            }
            if(i > Math.sqrt(input))
            {
                System.out.println("是素数！");
            }
        }*/

/*    public static void main1(String[] args) {
        byte a=10;
        int b=-a;
        double d=100;
        int c = 888;
        byte e = 127;
        float f = 3.5f;
        System.out.println("\\\"hello\\\"");
        System.out.println("\\"+" ");
        System.out.println("/\"hello/\"");
        System.out.println(a);
        System.out.println(b);
    }*/
}
